home *** CD-ROM | disk | FTP | other *** search
-
-
- #ifndef __DRAGSUPPORT__
- #define __DRAGSUPPORT__
-
- #include <Drag.h>
- #include <Windows.h>
-
- struct DragHandlerGlobals {
- Boolean acceptableDragFlag;
- Rect currDragRect;
- };
- typedef struct DragHandlerGlobals DragHandlerGlobals, *DragHandlerGlobalsPtr;
-
-
-
- Boolean DragMgrPresent(void);
- OSErr InstallDragHandlers(WindowPtr);
- void RemoveDragHandlers(WindowPtr);
- Boolean DragItemsAreAcceptable(DragReference);
- pascal OSErr DragTracker(DragTrackingMessage, WindowPtr, void *, DragReference);
- pascal OSErr DragReceiver(WindowPtr, void *, DragReference);
- OSErr StartDrag(WindowPtr win, EventRecord *event);
-
- Boolean DragIsNotInSourceWindow(DragReference);
- OSErr AddTextFlavor(DragReference, ItemReference, StringPtr);
- void OutlineRegion(RgnHandle);
-
- #endif